package modules.user.data;
/**
 * 第三方开发授权登录
 * @author langhsu on 2015/8/12.
 */
public class OpenOauthVO {

	private long id;
	
	private long userId;// 系统中的用户ID
	
	private int oauthType; // 认证类型：QQ、新浪
	
	private String oauthUserId;// 对应第三方用户ID
	
	private String oauthCode;// 第三方返回的code
	
	private String accessToken;// 访问令牌
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public int getOauthType() {
		return oauthType;
	}
	public void setOauthType(int oauthType) {
		this.oauthType = oauthType;
	}
	public String getOauthUserId() {
		return oauthUserId;
	}
	public void setOauthUserId(String oauthUserId) {
		this.oauthUserId = oauthUserId;
	}
	public String getOauthCode() {
		return oauthCode;
	}
	public void setOauthCode(String oauthCode) {
		this.oauthCode = oauthCode;
	}
	public String getAccessToken() {
		return accessToken;
	}
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	public String getExpireIn() {
		return expireIn;
	}
	public void setExpireIn(String expireIn) {
		this.expireIn = expireIn;
	}
	public String getRefreshToken() {
		return refreshToken;
	}
	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	private String expireIn;
	
	private String refreshToken;
	
	private String username;
    private String nickname;
    private String email;
    private String avatar;
}
